from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep
from options import options

driver = webdriver.Chrome(options=options)
driver.get(r'https://www.baidu.com/')
sleep(1)
driver.find_element(By.CLASS_NAME,'soutu-btn').click()
driver.find_element(By.CLASS_NAME,'upload-pic').send_keys(r'C:\Users\admin\Desktop\trainingcamp\python_230901\homework\zhaozhixia\课堂练习\1-3\weixun.png')
sleep(10)

